package com.quan.mall.service;

import com.quan.mall.commons.vo.MallAdvertiseVo;
import com.quan.mall.entity.MallAdvertise;
import com.quan.commons.core.utils.PageUtils;
import com.quan.commons.core.biz.support.MyBaseService;

import java.util.List;

/**
 * 商城-广告分类
 *
 * @author yhaoquan
 * @email yhaoquan@163.com
 * @date 2021-04-22 23:50:31
 */
public interface MallAdvertiseService extends MyBaseService<MallAdvertise> {

    /**
     * 列表查询
     * @param vo
     * @return
     */
    public List<MallAdvertiseVo> queryList(PageUtils pageUtils, MallAdvertiseVo vo) ;

    /**
     * 分页查询
     * @param pageUtils
     * @param vo
     * @return
     */
    public PageUtils queryPage(PageUtils pageUtils, MallAdvertiseVo vo);

    /**
     * 根据分类获取广告列表
     * @param identity
     * @return
     */
    public MallAdvertiseVo showAdvertise(String identity);

}

